#!/bin/bash

cd ~/Downloads || exit 1

# Plymouth #
cp /etc/willows/themes/nord/res/0a58ad9b-20f0-4345-acae-f99cb2e4a58f_orsmif-ani-01-dark-gray.tar.bz2 . 
tar xvf 0a58ad9b-20f0-4345-acae-f99cb2e4a58f_orsmif-ani-01-dark-gray.tar.bz2
sudo OrSmiF-Ani-01-Dark-Gray
sudo plymouth-set-default-theme OrSmiF-Ani-01-Dark-Gray
rm -rf 0a58ad9b-20f0-4345-acae-f99cb2e4a58f_orsmif-ani-01-dark-gray.tar.bz2

# Cursor #
wget https://github.com/yeyushengfan258/Afterglow-Cursors/archive/refs/heads/main.zip
unzip main.zip
cd Afterglow-Cursors-main || exit 1
./build.sh
sudo ./install.sh
rm -rf Afterglow-Cursors-main main.zip

# Grub #
wget https://github.com/stuarthayhurst/argon-grub-theme/archive/refs/heads/master.zip
unzip master.zip
cd argon-grub-theme-master || exit 1
cp /usr/share/fonts/NerdFonts/ttf/Go\ Mono\ Nerd\ Font\ Complete\ Mono.ttf fonts/GoMonoNerdFont.ttf
cp /etc/willows/themes/nord/res/images/fractal.png backgrounds/2k/
sudo ./install.sh --install --boot --icons coloured -r 2k -f GoMonoNerdFont.ttf -b Fractal 
sudo rm -rf argon-grub-theme-master master.zip

# Icons #
wget https://github.com/EliverLara/candy-icons/archive/refs/heads/master.zip
unzip master.zip
sudo mv candy-icons-master /usr/share/icons/candy-icons
rm -rf master.zip

# GTK Theme #
wget https://github.com/EliverLara/Otis/archive/refs/heads/master.zip
unzip master.zip
sudo mv Otis-master /usr/share/themes/Otis
rm -rf master.zip

# PyWal Theme #
wal --theme base16-nord -t -s

